package com.bdqn.t320.ch12.service;

import com.bdqn.t320.ch12.entity.Right;
import com.bdqn.t320.ch12.entity.Role;
import org.springframework.data.domain.Sort;

import java.util.List;

public interface RoleService {

    List<Role> getRoleListService(Sort sort);

    //权限查询
    public List<Right> findAllRights();

    //public List<Right> findRightsByRole(Role role);

    public String getRoleNameByRoleIdBiz(Long roleId);
}
